package com.liujit.common.exception;

import com.liujit.common.enums.ResultCode;

/**
 * @Description: 数据未找到异常
 * @Author: liujun
 * @Date: 2021/7/1 2:01 下午
 */
public class DataNotFoundException extends BusinessException {

    private static final long serialVersionUID = 7920287848366252438L;

    public DataNotFoundException() {
        super(ResultCode.DATA_NOT_FOUND);
    }

    public DataNotFoundException(Object errors) {
        this();
        super.errors = errors;
    }
}
